package com.lms.logisticsmanagementsystem.service;

import com.lms.logisticsmanagementsystem.model.Car;
import com.lms.logisticsmanagementsystem.model.Driver;
import com.lms.logisticsmanagementsystem.model.Staff;

import java.util.List;

public interface CarService {
    List<Car> getCarInfo();

    boolean addCarInfo(Car car);

    Car getCarInfoById(Integer id);

    boolean delCarInfoById(Integer d);

    List<String> getCphmUnSelect();

    boolean addDriverInfo(Driver driver);

    List<Driver> getDriverInfo();

    Driver getDriverInfoById(Integer id);

    boolean delDriverInfoById(Integer id);

    List<String> getCarInfoByClassAndZT();

    List<Car> getCarBHByCLX(String clx);

    List<Driver> getDriverInfoByZT();

    Car getCarInfoByCBH(String carCheck);

    boolean updateCarInfoByCBH(Car car);

    boolean updateDriverStatusById(Driver driver);

    boolean updateCarStatusByCBH(String clbh);

    boolean updateDriverStatusByPhoneAndXM(String sjxm, String sjdh);

    boolean editDriverById(Driver driver);

    boolean editCar(Car car);

    List<Car> getCarInfoByCarNum(String carNum);

    List<Driver> getDriverInfoByDriverTip(String drivertip);
}
